import {
  jwtServerInstance
} from '../index'
import {
  getTokenUser
} from "@/lib/utils";
import qs from 'qs'

//查询接口
export const getGlobalLog = (queryform, pagination) => {
  return jwtServerInstance.request({
    url: '/sysgloballog/query',
    method: 'post',
    data: qs.stringify({
      url: queryform.url,
      username: queryform.username,
      address: queryform.address,
      createStartTime: queryform.timeRange[0],
      createEndTime: queryform.timeRange[1],
      pageNum: pagination.pageNum,
      pageSize: pagination.pageSize
    })
  })
}